Star/Starccm

Sample job file for running Star Serial job for single Node:

File Name : star.cmd

#!/bin/bash

#@ output = test.out

#@ error = test.err

#@ job_type = MPICH

#@ node = 1

#@ tasks_per_node = 8

#@ class = Star

#@ environment = COPY_ALL

#@ queue

Jobid=`echo $LOADL_STEP_ID | cut -f 6 -d .`

tmpdir=$HOME/scratch/job$Jobid

mkdir -p $tmpdir; cd $tmpdir

cp -R $LOADL_STEP_INITDIR/* $tmpdir

x1=`hostname`

source /sware/star4.14/etc/setstar

star $x1,8 >output

mv ../job$Jobid $LOADL_STEP_INITDIR

In the command prompt, type the command, llsubmit star.cmd

Sample job file for running Starccm serial job for single NODE:

File Name : star.cmd

#!/bin/bash

#@ output = test.out

#@ error = test.err

#@ job_type = MPICH

#@ node = 1

#@ tasks_per_node = 8

#@ class = Star

#@ environment = COPY_ALL

#@ queue

Jobid=`echo $LOADL_STEP_ID | cut -f 6 -d .`

tmpdir=$HOME/scratch/job$Jobid

mkdir -p $tmpdir; cd $tmpdir

cp -R $LOADL_STEP_INITDIR/* $tmpdir

starccm+ -batch -np 8 0.sim >> out

mv ../job$Jobid $LOADL_STEP_INITDIR

In the command prompt, type the command, llsubmit star.cmd